package com.sjms._03_创建_抽象工厂;

class 雀巢 extends Coffee {
    public 雀巢(String name) {
        super(name);
    }

    @Override
    void materials() {
        System.out.println(name + "：【雀巢-原材料：咖啡豆】");
    }

    @Override
    void produce() {
        System.out.println("生产结果：雀巢咖啡x10g\n");
    }
}